import { FC } from 'react';
import { Link } from 'react-router-dom';

const NotFound: FC = () => {
    return (
        <div style={{ textAlign: 'center', marginTop: '50px' }}>
            <h1>404</h1>
            <h2>页面未找到</h2>
            <p>抱歉，您访问的页面不存在</p>
            <Link to="/">返回首页</Link>
        </div>
    );
};

export default NotFound;
